<nav class="navbar navbar-expand-lg navbar-light">
    <a class="navbar-brand" href="/index">
        <img src="#(tmplPath)#(site_logo)" width="144" height="72" alt="">
    </a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse justify-content-end" id="navbarNav">
        #set(menus = getCacheMenu("main"))
        <ul class="navbar-nav">
            #for(menu : menus)

            <li class="nav-item #if(currentMenu?? && menu.id==currentMenu.id) active #end">
                <a class="nav-link" target="#(menu.target)" href="#(menu.url)" >#(menu.name)#if(currentMenu?? && menu.id==currentMenu.id) <span class="sr-only">#(currentMenu.name)</span> #end </a>
            </li>
            #end
        </ul>
    </div>
</nav>